import { QuestionCircleFilled } from "@ant-design/icons"
import { Tooltip } from "antd"
import { ColumnGroupType, ColumnType } from "antd/es/table"

import { renderNullableValue } from "./venueProfitAndLoss"

const proxyByVenue = (newFormat: (arg: string) => string): Record<string, ColumnGroupType<any> | ColumnType<any>> => ({
	//tab1(全部场馆): 代理层级       代理团队游戏盈亏          代理团队盈亏调整     代理团队总盈亏
	proxyProfitCycleName: {
		key: "cycleName",
		dataIndex: "cycleName",
		width: 180,
		render: renderNullableValue("cycleName"),
		title: newFormat("report.proxy_cycleName"),
		align: "center",
		fixed: false
	},
	proxyProfitProxyName: {
		key: "proxyName",
		dataIndex: "proxyName",
		width: 120,
		render: renderNullableValue("proxyName"),
		title: newFormat("report.proxy_proxy_name"),
		align: "center",
		fixed: false
	},
	proxyProfitProxyLevel: {
		key: "proxyLevel",
		dataIndex: "proxyLevel",
		width: 120,
		render: renderNullableValue("proxyLevel"),
		title: newFormat("report.proxy_proxy_level"),
		align: "center",
		fixed: false
	},
	proxyProfitParentProxyName: {
		key: "parentProxyName",
		dataIndex: "parentProxyName",
		width: 120,
		render: renderNullableValue("parentProxyName"),
		title: newFormat("report.proxy_parent_proxy_name"),
		align: "center",
		fixed: false
	},
	proxyProfitTopProxyName: {
		key: "topProxyName",
		dataIndex: "topProxyName",
		width: 120,
		render: renderNullableValue("topProxyName"),
		title: newFormat("report.proxy_top_proxy_name"),
		align: "center",
		fixed: false
	},
	proxyProfitBusinessModel: {
		key: "businessModel",
		dataIndex: "businessModel",
		width: 120,
		render: (_text: any, record: any) =>
			record.businessModel === 1 ? newFormat("report.proxy_business_modal1") : newFormat("report.proxy_business_modal2"),
		title: newFormat("report.proxy_business_model"),
		align: "center",
		fixed: false
	},

	proxyProfitDxClubNetAmount: {
		key: "dxClubNetAmount",
		dataIndex: "dxClubNetAmount",
		width: 120,
		render: renderNullableValue("dxClubNetAmount", "$"),
		title: newFormat("report.proxy_dx_club_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubNetAmount - b.dxClubNetAmount
	},
	proxyProfitDxSquidNetAmount: {
		key: "dxSquidNetAmount",
		dataIndex: "dxSquidNetAmount",
		width: 120,
		render: renderNullableValue("dxSquidNetAmount", "$"),
		title: newFormat("report.proxy_dx_squid_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxSquidNetAmount - b.dxSquidNetAmount
	},
	proxyProfitDxClubServiceChargeRoundAmount: {
		key: "dxClubServiceChargeRoundAmount",
		dataIndex: "dxClubServiceChargeRoundAmount",
		width: 120,
		render: renderNullableValue("dxClubServiceChargeRoundAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_club_service_charge_round_amount")}
				<Tooltip title={newFormat("report.proxy_dx_club_service_charge_round_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubServiceChargeRoundAmount - b.dxClubServiceChargeRoundAmount
	},
	proxyProfitDxClubServiceChargeContributionRebateAmount: {
		key: "dxClubServiceChargeContributionRebateAmount",
		dataIndex: "dxClubServiceChargeContributionRebateAmount",
		width: 120,
		render: renderNullableValue("dxClubServiceChargeContributionRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_club_service_charge_contribution_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_dx_club_service_charge_contribution_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubServiceChargeContributionRebateAmount - b.dxClubServiceChargeContributionRebateAmount
	},
	proxyProfitDxInsureNetAmount: {
		key: "dxInsureNetAmount",
		dataIndex: "dxInsureNetAmount",
		width: 120,
		render: renderNullableValue("dxInsureNetAmount", "$"),
		title: newFormat("report.proxy_dx_insure_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureNetAmount - b.dxInsureNetAmount
	},
	proxyProfitDxInsureNetRebateAmount: {
		key: "dxInsureNetRebateAmount",
		dataIndex: "dxInsureNetRebateAmount",
		width: 120,
		render: renderNullableValue("dxInsureNetRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_insure_net_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_dx_insure_net_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureNetRebateAmount - b.dxInsureNetRebateAmount
	},
	proxyProfitDxValueAddedTotalAmount: {
		key: "dxValueAddedTotalAmount",
		dataIndex: "dxValueAddedTotalAmount",
		width: 120,
		render: renderNullableValue("dxValueAddedTotalAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_value_added_total_amount")}
				<Tooltip title={newFormat("report.proxy_dx_value_added_total_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxValueAddedTotalAmount - b.dxValueAddedTotalAmount
	},
	proxyProfitDxValueAddedTotalRebateAmount: {
		key: "dxValueAddedTotalRebateAmount",
		dataIndex: "dxValueAddedTotalRebateAmount",
		width: 120,
		render: renderNullableValue("dxValueAddedTotalRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_value_added_total_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_dx_value_added_total_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxValueAddedTotalRebateAmount - b.dxValueAddedTotalRebateAmount
	},
	proxyProfitOtherNetAmount: {
		key: "otherNetAmount",
		dataIndex: "otherNetAmount",
		width: 120,
		render: renderNullableValue("otherNetAmount", "$"),
		title: newFormat("report.proxy_other_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherNetAmount - b.otherNetAmount
	},
	proxyProfitOtherNetRecalculationAdjustmentAmount: {
		key: "otherNetRecalculationAdjustmentAmount",
		dataIndex: "otherNetRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("otherNetRecalculationAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_net_recalculation_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_other_net_recalculation_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherNetRecalculationAdjustmentAmount - b.otherNetRecalculationAdjustmentAmount
	},
	proxyProfitOtherPartNetAmount: {
		key: "otherPartNetAmount",
		dataIndex: "otherPartNetAmount",
		width: 120,
		render: renderNullableValue("otherPartNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_part_net_amount")}
				<Tooltip title={newFormat("report.proxy_other_part_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherPartNetAmount - b.otherPartNetAmount
	},
	proxyProfitOtherRebateAmount: {
		key: "otherRebateAmount",
		dataIndex: "otherRebateAmount",
		width: 120,
		render: renderNullableValue("otherRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_other_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherRebateAmount - b.otherRebateAmount
	},
	proxyProfitOtherPartRebateAmount: {
		key: "otherPartRebateAmount",
		dataIndex: "otherPartRebateAmount",
		width: 120,
		render: renderNullableValue("otherPartRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_part_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_other_part_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherPartRebateAmount - b.otherPartRebateAmount
	},
	proxyProfitOtherRebateRecalculationAdjustmentAmount: {
		key: "otherRebateRecalculationAdjustmentAmount",
		dataIndex: "otherRebateRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("otherRebateRecalculationAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_rebate_recalculation_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_other_rebate_recalculation_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherRebateRecalculationAdjustmentAmount - b.otherRebateRecalculationAdjustmentAmount
	},
	proxyProfitOtherPartRebateRecalculationAmount: {
		key: "otherPartRebateRecalculationAmount",
		dataIndex: "otherPartRebateRecalculationAmount",
		width: 120,
		render: renderNullableValue("otherPartRebateRecalculationAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_part_rebate_recalculation_amount")}
				<Tooltip title={newFormat("report.proxy_other_part_rebate_recalculation_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherPartRebateRecalculationAmount - b.otherPartRebateRecalculationAmount
	},
	proxyProfitOtherAmount: {
		key: "otherAmount",
		dataIndex: "otherAmount",
		width: 120,
		render: renderNullableValue("otherAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_amount")}
				<Tooltip title={newFormat("report.proxy_other_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherAmount - b.otherAmount
	},

	proxyProfitMemberRebateAdjustmentAmount: {
		key: "memberRebateAdjustmentAmount",
		dataIndex: "memberRebateAdjustmentAmount",
		width: 120,
		render: renderNullableValue("memberRebateAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_member_rebate_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_member_rebate_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.memberRebateAdjustmentAmount - b.memberRebateAdjustmentAmount
	},
	proxyProfitMemberAccountAdjustmentAmount: {
		key: "memberAccountAdjustmentAmount",
		dataIndex: "memberAccountAdjustmentAmount",
		width: 120,
		render: renderNullableValue("memberAccountAdjustmentAmount", "$"),
		title: newFormat("report.proxy_member_account_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.memberAccountAdjustmentAmount - b.memberAccountAdjustmentAmount
	},
	proxyProfitProxyRebateAdjustmentAmount: {
		key: "proxyRebateAdjustmentAmount",
		dataIndex: "proxyRebateAdjustmentAmount",
		width: 120,
		render: renderNullableValue("proxyRebateAdjustmentAmount", "$"),
		title: newFormat("report.proxy_proxy_rebate_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.proxyRebateAdjustmentAmount - b.proxyRebateAdjustmentAmount
	},
	proxyProfitProxyAccountAdjustmentAmount: {
		key: "proxyAccountAdjustmentAmount",
		dataIndex: "proxyAccountAdjustmentAmount",
		width: 120,
		render: renderNullableValue("proxyAccountAdjustmentAmount", "$"),
		title: newFormat("report.proxy_proxy_account_adjustment_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.proxyAccountAdjustmentAmount - b.proxyAccountAdjustmentAmount
	},
	proxyProfitOtherAdjustmentTotalNetAmount: {
		key: "otherAdjustmentTotalNetAmount",
		dataIndex: "otherAdjustmentTotalNetAmount",
		width: 120,
		render: renderNullableValue("otherAdjustmentTotalNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_adjustment_total_net_amount")}
				<Tooltip title={newFormat("report.proxy_other_adjustment_total_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherAdjustmentTotalNetAmount - b.otherAdjustmentTotalNetAmount
	},

	proxyProfitTotalNetAmount: {
		key: "totalNetAmount",
		dataIndex: "totalNetAmount",
		width: 120,
		render: renderNullableValue("totalNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_total_net_amount")}
				<Tooltip title={newFormat("report.proxy_total_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.totalNetAmount - b.totalNetAmount
	},

	//tab 2: 代理团队德州游戏盈亏

	proxyProfitDxClubServiceChargeHandBetCount: {
		key: "dxClubServiceChargeHandBetCount",
		dataIndex: "dxClubServiceChargeHandBetCount",
		width: 120,
		render: renderNullableValue("dxClubServiceChargeHandBetCount"),
		title: newFormat("report.proxy_dx_club_service_charge_hand_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubServiceChargeHandBetCount - b.dxClubServiceChargeHandBetCount
	},
	proxyProfitDxClubNetAmount1: {
		key: "dxClubNetAmount",
		dataIndex: "dxClubNetAmount",
		width: 120,
		render: renderNullableValue("dxClubNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_club_net_amount")}
				<Tooltip title={newFormat("report.proxy_dx_club_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubNetAmount - b.dxClubNetAmount
	},
	proxyProfitDxSquidNetAmount1: {
		key: "dxSquidNetAmount",
		dataIndex: "dxSquidNetAmount",
		width: 120,
		render: renderNullableValue("dxSquidNetAmount", "$"),
		title: newFormat("report.proxy_dx_squid_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxSquidNetAmount - b.dxSquidNetAmount
	},
	proxyProfitDxClubServiceChargeRoundAmount1: {
		key: "dxClubServiceChargeRoundAmount",
		dataIndex: "dxClubServiceChargeRoundAmount",
		width: 120,
		render: renderNullableValue("dxClubServiceChargeRoundAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_club_service_charge_round_amount")}
				<Tooltip title={newFormat("report.proxy_dx_club_service_charge_round_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubServiceChargeRoundAmount - b.dxClubServiceChargeRoundAmount
	},
	proxyProfitDxClubServiceChargeHandAmount: {
		key: "dxClubServiceChargeHandAmount",
		dataIndex: "dxClubServiceChargeHandAmount",
		width: 120,
		render: renderNullableValue("dxClubServiceChargeHandAmount", "$"),
		title: newFormat("report.proxy_dx_club_service_charge_hand_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubServiceChargeHandAmount - b.dxClubServiceChargeHandAmount
	},
	proxyProfitDxClubTotalServiceChargeContributionAmount: {
		key: "dxClubTotalServiceChargeContributionAmount",
		dataIndex: "dxClubTotalServiceChargeContributionAmount",
		width: 120,
		render: renderNullableValue("dxClubTotalServiceChargeContributionAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_club_total_service_charge_contribution_amount")}
				<Tooltip title={newFormat("report.proxy_dx_club_total_service_charge_contribution_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubTotalServiceChargeContributionAmount - b.dxClubTotalServiceChargeContributionAmount
	},
	proxyProfitDxClubServiceChargeContributionRebateAmount1: {
		key: "dxClubServiceChargeContributionRebateAmount",
		dataIndex: "dxClubServiceChargeContributionRebateAmount",
		width: 120,
		render: renderNullableValue("dxClubServiceChargeContributionRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_club_service_charge_contribution_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_dx_club_service_charge_contribution_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxClubServiceChargeContributionRebateAmount - b.dxClubServiceChargeContributionRebateAmount
	},
	proxyProfitDxInsureBetCount: {
		key: "dxInsureBetCount",
		dataIndex: "dxInsureBetCount",
		width: 120,
		render: renderNullableValue("dxInsureBetCount"),
		title: newFormat("report.proxy_dx_insure_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureBetCount - b.dxInsureBetCount
	},
	proxyProfitDxInsureBetAmount: {
		key: "dxInsureBetAmount",
		dataIndex: "dxInsureBetAmount",
		width: 120,
		render: renderNullableValue("dxInsureBetAmount", "$"),
		title: newFormat("report.proxy_dx_insure_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureBetAmount - b.dxInsureBetAmount
	},
	proxyProfitDxInsureValidBetAmount: {
		key: "dxInsureValidBetAmount",
		dataIndex: "dxInsureValidBetAmount",
		width: 120,
		render: renderNullableValue("dxInsureValidBetAmount", "$"),
		title: newFormat("report.proxy_dx_insure_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureValidBetAmount - b.dxInsureValidBetAmount
	},
	proxyProfitDxInsureNetAmount1: {
		key: "dxInsureNetAmount",
		dataIndex: "dxInsureNetAmount",
		width: 120,
		render: renderNullableValue("dxInsureNetAmount", "$"),
		title: newFormat("report.proxy_dx_insure_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureNetAmount - b.dxInsureNetAmount
	},
	proxyProfitDxInsureNetRebateAmount1: {
		key: "dxInsureNetRebateAmount",
		dataIndex: "dxInsureNetRebateAmount",
		width: 120,
		render: renderNullableValue("dxInsureNetRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_insure_net_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_dx_insure_net_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxInsureNetRebateAmount - b.dxInsureNetRebateAmount
	},
	proxyProfitDxValueAddedTotalAmount1: {
		key: "dxValueAddedTotalAmount",
		dataIndex: "dxValueAddedTotalAmount",
		width: 120,
		render: renderNullableValue("dxValueAddedTotalAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_value_added_total_amount")}
				<Tooltip title={newFormat("report.proxy_dx_value_added_total_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxValueAddedTotalAmount - b.dxValueAddedTotalAmount
	},
	proxyProfitDxValueAddedTotalRebateAmount1: {
		key: "dxValueAddedTotalRebateAmount",
		dataIndex: "dxValueAddedTotalRebateAmount",
		width: 120,
		render: renderNullableValue("dxValueAddedTotalRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_value_added_total_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_dx_value_added_total_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxValueAddedTotalRebateAmount - b.dxValueAddedTotalRebateAmount
	},
	proxyProfitDxTotalNetAmount: {
		key: "dxTotalNetAmount",
		dataIndex: "dxTotalNetAmount",
		width: 120,
		render: renderNullableValue("dxTotalNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dx_total_net_amount")}
				<Tooltip title={newFormat("report.proxy_dx_total_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dxTotalNetAmount - b.dxTotalNetAmount
	},

	//tab 3: 代理团队其他场馆游戏盈亏
	proxyProfitOtherBetCount: {
		key: "otherBetCount",
		dataIndex: "otherBetCount",
		width: 120,
		render: renderNullableValue("otherBetCount"),
		title: newFormat("report.proxy_other_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherBetCount - b.otherBetCount
	},
	proxyProfitOtherBetAmount: {
		key: "otherBetAmount",
		dataIndex: "otherBetAmount",
		width: 120,
		render: renderNullableValue("otherBetAmount", "$"),
		title: newFormat("report.proxy_other_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherBetAmount - b.otherBetAmount
	},
	proxyProfitOtherNetAmount1: {
		key: "otherNetAmount",
		dataIndex: "otherNetAmount",
		width: 120,
		render: renderNullableValue("otherNetAmount", "$"),
		title: newFormat("report.proxy_other_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherNetAmount - b.otherNetAmount
	},
	proxyProfitOtherNetRecalculationAdjustmentAmount1: {
		key: "otherNetRecalculationAdjustmentAmount",
		dataIndex: "otherNetRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("otherNetRecalculationAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_net_recalculation_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_other_net_recalculation_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherNetRecalculationAdjustmentAmount - b.otherNetRecalculationAdjustmentAmount
	},
	proxyProfitOtherPartNetAmount1: {
		key: "otherPartNetAmount",
		dataIndex: "otherPartNetAmount",
		width: 120,
		render: renderNullableValue("otherPartNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_part_net_amount")}
				<Tooltip title={newFormat("report.proxy_other_part_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherPartNetAmount - b.otherPartNetAmount
	},
	proxyProfitOtherValidBetAmount: {
		key: "otherValidBetAmount",
		dataIndex: "otherValidBetAmount",
		width: 120,
		render: renderNullableValue("otherValidBetAmount", "$"),
		title: newFormat("report.proxy_other_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherValidBetAmount - b.otherValidBetAmount
	},
	proxyProfitOtherRebateAmount1: {
		key: "otherRebateAmount",
		dataIndex: "otherRebateAmount",
		width: 120,
		render: renderNullableValue("otherRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_other_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherRebateAmount - b.otherRebateAmount
	},
	proxyProfitOtherPartRebateAmount1: {
		key: "otherPartRebateAmount",
		dataIndex: "otherPartRebateAmount",
		width: 120,
		render: renderNullableValue("otherPartRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_part_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_other_part_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherPartRebateAmount - b.otherPartRebateAmount
	},
	proxyProfitOtherRebateRecalculationAdjustmentAmount1: {
		key: "otherRebateRecalculationAdjustmentAmount",
		dataIndex: "otherRebateRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("otherRebateRecalculationAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_rebate_recalculation_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_other_rebate_recalculation_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherRebateRecalculationAdjustmentAmount - b.otherRebateRecalculationAdjustmentAmount
	},
	proxyProfitOtherPartRebateRecalculationAmount1: {
		key: "otherPartRebateRecalculationAmount",
		dataIndex: "otherPartRebateRecalculationAmount",
		width: 120,
		render: renderNullableValue("otherPartRebateRecalculationAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_part_rebate_recalculation_amount")}
				<Tooltip title={newFormat("report.proxy_other_part_rebate_recalculation_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherPartRebateRecalculationAmount - b.otherPartRebateRecalculationAmount
	},
	proxyProfitOtherAmount1: {
		key: "otherAmount",
		dataIndex: "otherAmount",
		width: 120,
		render: renderNullableValue("otherAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_amount")}
				<Tooltip title={newFormat("report.proxy_other_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherAmount - b.otherAmount
	},
	proxyProfitOtherTotalNetAmount: {
		key: "otherTotalNetAmount",
		dataIndex: "otherTotalNetAmount",
		width: 120,
		render: renderNullableValue("otherTotalNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_other_total_net_amount")}
				<Tooltip title={newFormat("report.proxy_other_total_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.otherTotalNetAmount - b.otherTotalNetAmount
	},

	//tab4: 代理团队体育场馆游戏盈亏
	proxyProfitTyBetCount: {
		key: "tyBetCount",
		dataIndex: "tyBetCount",
		width: 120,
		render: renderNullableValue("tyBetCount"),
		title: newFormat("report.proxy_ty_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyBetCount - b.tyBetCount
	},
	proxyProfitTyBetAmount: {
		key: "tyBetAmount",
		dataIndex: "tyBetAmount",
		width: 120,
		render: renderNullableValue("tyBetAmount", "$"),
		title: newFormat("report.proxy_ty_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyBetAmount - b.tyBetAmount
	},
	proxyProfitTyNetAmount: {
		key: "tyNetAmount",
		dataIndex: "tyNetAmount",
		width: 120,
		render: renderNullableValue("tyNetAmount", "$"),
		title: newFormat("report.proxy_ty_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyNetAmount - b.tyNetAmount
	},
	proxyProfitTyNetRecalculationAdjustmentAmount: {
		key: "tyNetRecalculationAdjustmentAmount",
		dataIndex: "tyNetRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("tyNetRecalculationAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_ty_net_recalculation_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_ty_net_recalculation_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyNetRecalculationAdjustmentAmount - b.tyNetRecalculationAdjustmentAmount
	},
	proxyProfitTyPartNetAmount: {
		key: "tyPartNetAmount",
		dataIndex: "tyPartNetAmount",
		width: 120,
		render: renderNullableValue("tyPartNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_ty_part_net_amount")}
				<Tooltip title={newFormat("report.proxy_ty_part_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyPartNetAmount - b.tyPartNetAmount
	},
	proxyProfitTyValidBetAmount: {
		key: "tyValidBetAmount",
		dataIndex: "tyValidBetAmount",
		width: 120,
		render: renderNullableValue("tyValidBetAmount", "$"),
		title: newFormat("report.proxy_ty_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyValidBetAmount - b.tyValidBetAmount
	},
	proxyProfitTyRebateAmount: {
		key: "tyRebateAmount",
		dataIndex: "tyRebateAmount",
		width: 120,
		render: renderNullableValue("tyRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_ty_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_ty_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyRebateAmount - b.tyRebateAmount
	},
	proxyProfitTyPartRebateAmount: {
		key: "tyPartRebateAmount",
		dataIndex: "tyPartRebateAmount",
		width: 120,
		render: renderNullableValue("tyPartRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_ty_part_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_ty_part_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyPartRebateAmount - b.tyPartRebateAmount
	},
	proxyProfitTyRebateRecalculationAdjustmentAmount: {
		key: "tyRebateRecalculationAdjustmentAmount",
		dataIndex: "tyRebateRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("tyRebateRecalculationAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_ty_rebate_recalculation_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_ty_rebate_recalculation_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyRebateRecalculationAdjustmentAmount - b.tyRebateRecalculationAdjustmentAmount
	},
	proxyProfitTyPartRebateRecalculationAmount: {
		key: "tyPartRebateRecalculationAmount",
		dataIndex: "tyPartRebateRecalculationAmount",
		width: 120,
		render: renderNullableValue("tyPartRebateRecalculationAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_ty_part_rebate_recalculation_amount")}
				<Tooltip title={newFormat("report.proxy_ty_part_rebate_recalculation_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyPartRebateRecalculationAmount - b.tyPartRebateRecalculationAmount
	},
	proxyProfitTyTotalNetAmount: {
		key: "tyTotalNetAmount",
		dataIndex: "tyTotalNetAmount",
		width: 120,
		render: renderNullableValue("tyTotalNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_ty_total_net_amount")}
				<Tooltip title={newFormat("report.proxy_ty_total_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.tyTotalNetAmount - b.tyTotalNetAmount
	},

	//tab5: 代理团队真人场馆游戏盈亏
	proxyProfitZrBetCount: {
		key: "zrBetCount",
		dataIndex: "zrBetCount",
		width: 120,
		render: renderNullableValue("zrBetCount"),
		title: newFormat("report.proxy_zr_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrBetCount - b.zrBetCount
	},
	proxyProfitZrBetAmount: {
		key: "zrBetAmount",
		dataIndex: "zrBetAmount",
		width: 120,
		render: renderNullableValue("zrBetAmount", "$"),
		title: newFormat("report.proxy_zr_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrBetAmount - b.zrBetAmount
	},
	proxyProfitZrNetAmount: {
		key: "zrNetAmount",
		dataIndex: "zrNetAmount",
		width: 120,
		render: renderNullableValue("zrNetAmount", "$"),
		title: newFormat("report.proxy_zr_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrNetAmount - b.zrNetAmount
	},
	proxyProfitZrNetRecalculationAdjustmentAmount: {
		key: "zrNetRecalculationAdjustmentAmount",
		dataIndex: "zrNetRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("zrNetRecalculationAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_zr_net_recalculation_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_zr_net_recalculation_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrNetRecalculationAdjustmentAmount - b.zrNetRecalculationAdjustmentAmount
	},
	proxyProfitZrPartNetAmount: {
		key: "zrPartNetAmount",
		dataIndex: "zrPartNetAmount",
		width: 120,
		render: renderNullableValue("zrPartNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_zr_part_net_amount")}
				<Tooltip title={newFormat("report.proxy_zr_part_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrPartNetAmount - b.zrPartNetAmount
	},
	proxyProfitZrValidBetAmount: {
		key: "zrValidBetAmount",
		dataIndex: "zrValidBetAmount",
		width: 120,
		render: renderNullableValue("zrValidBetAmount", "$"),
		title: newFormat("report.proxy_zr_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrValidBetAmount - b.zrValidBetAmount
	},
	proxyProfitZrRebateAmount: {
		key: "zrRebateAmount",
		dataIndex: "zrRebateAmount",
		width: 120,
		render: renderNullableValue("zrRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_zr_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_zr_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrRebateAmount - b.zrRebateAmount
	},
	proxyProfitZrPartRebateAmount: {
		key: "zrPartRebateAmount",
		dataIndex: "zrPartRebateAmount",
		width: 120,
		render: renderNullableValue("zrPartRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_zr_part_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_zr_part_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrPartRebateAmount - b.zrPartRebateAmount
	},
	proxyProfitZrRebateRecalculationAdjustmentAmount: {
		key: "zrRebateRecalculationAdjustmentAmount",
		dataIndex: "zrRebateRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("zrRebateRecalculationAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_zr_rebate_recalculation_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_zr_rebate_recalculation_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrRebateRecalculationAdjustmentAmount - b.zrRebateRecalculationAdjustmentAmount
	},
	proxyProfitZrPartRebateRecalculationAmount: {
		key: "zrPartRebateRecalculationAmount",
		dataIndex: "zrPartRebateRecalculationAmount",
		width: 120,
		render: renderNullableValue("zrPartRebateRecalculationAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_zr_part_rebate_recalculation_amount")}
				<Tooltip title={newFormat("report.proxy_zr_part_rebate_recalculation_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrPartRebateRecalculationAmount - b.zrPartRebateRecalculationAmount
	},
	proxyProfitZrRewardAmount: {
		key: "zrRewardAmount",
		dataIndex: "zrRewardAmount",
		width: 120,
		render: renderNullableValue("zrRewardAmount", "$"),
		title: newFormat("report.proxy_zr_reward_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrRewardAmount - b.zrRewardAmount
	},
	proxyProfitZrTotalNetAmount: {
		key: "zrTotalNetAmount",
		dataIndex: "zrTotalNetAmount",
		width: 120,
		render: renderNullableValue("zrTotalNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_zr_total_net_amount")}
				<Tooltip title={newFormat("report.proxy_zr_total_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.zrTotalNetAmount - b.zrTotalNetAmount
	},

	//tab6: 棋牌场馆流水输赢
	proxyProfitQpBetCount: {
		key: "qpBetCount",
		dataIndex: "qpBetCount",
		width: 120,
		render: renderNullableValue("qpBetCount"),
		title: newFormat("report.proxy_qp_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpBetCount - b.qpBetCount
	},
	proxyProfitQpBetAmount: {
		key: "qpBetAmount",
		dataIndex: "qpBetAmount",
		width: 120,
		render: renderNullableValue("qpBetAmount", "$"),
		title: newFormat("report.proxy_qp_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpBetAmount - b.qpBetAmount
	},
	proxyProfitQpNetAmount: {
		key: "qpNetAmount",
		dataIndex: "qpNetAmount",
		width: 120,
		render: renderNullableValue("qpNetAmount", "$"),
		title: newFormat("report.proxy_qp_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpNetAmount - b.qpNetAmount
	},
	proxyProfitQpPartNetAmount: {
		key: "qpPartNetAmount",
		dataIndex: "qpPartNetAmount",
		width: 120,
		render: renderNullableValue("qpPartNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_qp_part_net_amount")}
				<Tooltip title={newFormat("report.proxy_qp_part_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpPartNetAmount - b.qpPartNetAmount
	},
	proxyProfitQpRebateAmount: {
		key: "qpRebateAmount",
		dataIndex: "qpRebateAmount",
		width: 120,
		render: renderNullableValue("qpRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_qp_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_qp_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpRebateAmount - b.qpRebateAmount
	},
	proxyProfitQpPartRebateAmount: {
		key: "qpPartRebateAmount",
		dataIndex: "qpPartRebateAmount",
		width: 120,
		render: renderNullableValue("qpPartRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_qp_part_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_qp_part_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpPartRebateAmount - b.qpPartRebateAmount
	},
	proxyProfitQpTotalNetAmount: {
		key: "qpTotalNetAmount",
		dataIndex: "qpTotalNetAmount",
		width: 120,
		render: renderNullableValue("qpTotalNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_qp_total_net_amount")}
				<Tooltip title={newFormat("report.proxy_qp_total_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.qpTotalNetAmount - b.qpTotalNetAmount
	},

	//tab7: 代理团队电竞场馆游戏盈亏
	proxyProfitDjBetCount: {
		key: "djBetCount",
		dataIndex: "djBetCount",
		width: 120,
		render: renderNullableValue("djBetCount"),
		title: newFormat("report.proxy_dj_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djBetCount - b.djBetCount
	},
	proxyProfitDjBetAmount: {
		key: "djBetAmount",
		dataIndex: "djBetAmount",
		width: 120,
		render: renderNullableValue("djBetAmount", "$"),
		title: newFormat("report.proxy_dj_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djBetAmount - b.djBetAmount
	},
	proxyProfitDjNetAmount: {
		key: "djNetAmount",
		dataIndex: "djNetAmount",
		width: 120,
		render: renderNullableValue("djNetAmount", "$"),
		title: newFormat("report.proxy_dj_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djNetAmount - b.djNetAmount
	},
	proxyProfitDjNetRecalculationAdjustmentAmount: {
		key: "djNetRecalculationAdjustmentAmount",
		dataIndex: "djNetRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("djNetRecalculationAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dj_net_recalculation_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_dj_net_recalculation_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djNetRecalculationAdjustmentAmount - b.djNetRecalculationAdjustmentAmount
	},
	proxyProfitDjPartNetAmount: {
		key: "djPartNetAmount",
		dataIndex: "djPartNetAmount",
		width: 120,
		render: renderNullableValue("djPartNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dj_part_net_amount")}
				<Tooltip title={newFormat("report.proxy_dj_part_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djPartNetAmount - b.djPartNetAmount
	},
	proxyProfitDjValidBetAmount: {
		key: "djValidBetAmount",
		dataIndex: "djValidBetAmount",
		width: 120,
		render: renderNullableValue("djValidBetAmount", "$"),
		title: newFormat("report.proxy_dj_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djValidBetAmount - b.djValidBetAmount
	},
	proxyProfitDjRebateAmount: {
		key: "djRebateAmount",
		dataIndex: "djRebateAmount",
		width: 120,
		render: renderNullableValue("djRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dj_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_dj_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djRebateAmount - b.djRebateAmount
	},
	proxyProfitDjPartRebateAmount: {
		key: "djPartRebateAmount",
		dataIndex: "djPartRebateAmount",
		width: 120,
		render: renderNullableValue("djPartRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dj_part_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_dj_part_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djPartRebateAmount - b.djPartRebateAmount
	},
	proxyProfitDjRebateRecalculationAdjustmentAmount: {
		key: "djRebateRecalculationAdjustmentAmount",
		dataIndex: "djRebateRecalculationAdjustmentAmount",
		width: 120,
		render: renderNullableValue("djRebateRecalculationAdjustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dj_rebate_recalculation_adjustment_amount")}
				<Tooltip title={newFormat("report.proxy_dj_rebate_recalculation_adjustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djRebateRecalculationAdjustmentAmount - b.djRebateRecalculationAdjustmentAmount
	},
	proxyProfitDjPartRebateRecalculationAmount: {
		key: "djPartRebateRecalculationAmount",
		dataIndex: "djPartRebateRecalculationAmount",
		width: 120,
		render: renderNullableValue("djPartRebateRecalculationAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dj_part_rebate_recalculation_amount")}
				<Tooltip title={newFormat("report.proxy_dj_part_rebate_recalculation_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djPartRebateRecalculationAmount - b.djPartRebateRecalculationAmount
	},
	proxyProfitDjTotalNetAmount: {
		key: "djTotalNetAmount",
		dataIndex: "djTotalNetAmount",
		width: 120,
		render: renderNullableValue("djTotalNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dj_total_net_amount")}
				<Tooltip title={newFormat("report.proxy_dj_total_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.djTotalNetAmount - b.djTotalNetAmount
	},

	//tab8: 代理团队彩票场馆游戏盈亏
	proxyProfitCpBetCount: {
		key: "cpBetCount",
		dataIndex: "cpBetCount",
		width: 120,
		render: renderNullableValue("cpBetCount"),
		title: newFormat("report.proxy_cp_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpBetCount - b.cpBetCount
	},
	proxyProfitCpBetAmount: {
		key: "cpBetAmount",
		dataIndex: "cpBetAmount",
		width: 120,
		render: renderNullableValue("cpBetAmount", "$"),
		title: newFormat("report.proxy_cp_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpBetAmount - b.cpBetAmount
	},
	proxyProfitCpNetAmount: {
		key: "cpNetAmount",
		dataIndex: "cpNetAmount",
		width: 120,
		render: renderNullableValue("cpNetAmount", "$"),
		title: newFormat("report.proxy_cp_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpNetAmount - b.cpNetAmount
	},
	proxyProfitCpNetRecalculationAcpustmentAmount: {
		key: "cpNetRecalculationAcpustmentAmount",
		dataIndex: "cpNetRecalculationAcpustmentAmount",
		width: 120,
		render: renderNullableValue("cpNetRecalculationAcpustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_cp_net_recalculation_acpustment_amount")}
				<Tooltip title={newFormat("report.proxy_cp_net_recalculation_acpustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpNetRecalculationAcpustmentAmount - b.cpNetRecalculationAcpustmentAmount
	},
	proxyProfitCpPartNetAmount: {
		key: "cpPartNetAmount",
		dataIndex: "cpPartNetAmount",
		width: 120,
		render: renderNullableValue("cpPartNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_cp_part_net_amount")}
				<Tooltip title={newFormat("report.proxy_cp_part_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpPartNetAmount - b.cpPartNetAmount
	},
	proxyProfitCpValidBetAmount: {
		key: "cpValidBetAmount",
		dataIndex: "cpValidBetAmount",
		width: 120,
		render: renderNullableValue("cpValidBetAmount", "$"),
		title: newFormat("report.proxy_cp_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpValidBetAmount - b.cpValidBetAmount
	},
	proxyProfitCpRebateAmount: {
		key: "cpRebateAmount",
		dataIndex: "cpRebateAmount",
		width: 120,
		render: renderNullableValue("cpRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_cp_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_cp_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpRebateAmount - b.cpRebateAmount
	},
	proxyProfitCpPartRebateAmount: {
		key: "cpPartRebateAmount",
		dataIndex: "cpPartRebateAmount",
		width: 120,
		render: renderNullableValue("cpPartRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_cp_part_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_cp_part_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpPartRebateAmount - b.cpPartRebateAmount
	},
	proxyProfitCpRebateRecalculationAcpustmentAmount: {
		key: "cpRebateRecalculationAcpustmentAmount",
		dataIndex: "cpRebateRecalculationAcpustmentAmount",
		width: 120,
		render: renderNullableValue("cpRebateRecalculationAcpustmentAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_cp_rebate_recalculation_acpustment_amount")}
				<Tooltip title={newFormat("report.proxy_cp_rebate_recalculation_acpustment_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpRebateRecalculationAcpustmentAmount - b.cpRebateRecalculationAcpustmentAmount
	},
	proxyProfitCpPartRebateRecalculationAmount: {
		key: "cpPartRebateRecalculationAmount",
		dataIndex: "cpPartRebateRecalculationAmount",
		width: 120,
		render: renderNullableValue("cpPartRebateRecalculationAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_cp_part_rebate_recalculation_amount")}
				<Tooltip title={newFormat("report.proxy_cp_part_rebate_recalculation_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpPartRebateRecalculationAmount - b.cpPartRebateRecalculationAmount
	},
	proxyProfitCpTotalNetAmount: {
		key: "cpTotalNetAmount",
		dataIndex: "cpTotalNetAmount",
		width: 120,
		render: renderNullableValue("cpTotalNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_cp_total_net_amount")}
				<Tooltip title={newFormat("report.proxy_cp_total_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.cpTotalNetAmount - b.cpTotalNetAmount
	},

	//tab9: 代理团队电子场馆游戏盈亏
	proxyProfitDyBetCount: {
		key: "dyBetCount",
		dataIndex: "dyBetCount",
		width: 120,
		render: renderNullableValue("dyBetCount"),
		title: newFormat("report.proxy_dy_bet_count"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyBetCount - b.dyBetCount
	},
	proxyProfitDyBetAmount: {
		key: "dyBetAmount",
		dataIndex: "dyBetAmount",
		width: 120,
		render: renderNullableValue("dyBetAmount", "$"),
		title: newFormat("report.proxy_dy_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyBetAmount - b.dyBetAmount
	},
	proxyProfitDyNetAmount: {
		key: "dyNetAmount",
		dataIndex: "dyNetAmount",
		width: 120,
		render: renderNullableValue("dyNetAmount", "$"),
		title: newFormat("report.proxy_dy_net_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyNetAmount - b.dyNetAmount
	},
	proxyProfitDyPartNetAmount: {
		key: "dyPartNetAmount",
		dataIndex: "dyPartNetAmount",
		width: 120,
		render: renderNullableValue("dyPartNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dy_part_net_amount")}
				<Tooltip title={newFormat("report.proxy_dy_part_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyPartNetAmount - b.dyPartNetAmount
	},
	proxyProfitDyValidBetAmount: {
		key: "dyValidBetAmount",
		dataIndex: "dyValidBetAmount",
		width: 120,
		render: renderNullableValue("dyValidBetAmount", "$"),
		title: newFormat("report.proxy_dy_valid_bet_amount"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyValidBetAmount - b.dyValidBetAmount
	},
	proxyProfitDyRebateAmount: {
		key: "dyRebateAmount",
		dataIndex: "dyRebateAmount",
		width: 120,
		render: renderNullableValue("dyRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dy_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_dy_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyRebateAmount - b.dyRebateAmount
	},
	proxyProfitDyPartRebateAmount: {
		key: "dyPartRebateAmount",
		dataIndex: "dyPartRebateAmount",
		width: 120,
		render: renderNullableValue("dyPartRebateAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dy_part_rebate_amount")}
				<Tooltip title={newFormat("report.proxy_dy_part_rebate_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyPartRebateAmount - b.dyPartRebateAmount
	},
	proxyProfitDyActivityBonus: {
		key: "dyActivityBonus",
		dataIndex: "dyActivityBonus",
		width: 120,
		render: renderNullableValue("dyActivityBonus", "$"),
		title: newFormat("report.proxy_dy_activity_bonus"),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyActivityBonus - b.dyActivityBonus
	},
	proxyProfitDyTotalNetAmount: {
		key: "dyTotalNetAmount",
		dataIndex: "dyTotalNetAmount",
		width: 120,
		render: renderNullableValue("dyTotalNetAmount", "$"),
		title: () => (
			<p>
				{newFormat("report.proxy_dy_total_net_amount")}
				<Tooltip title={newFormat("report.proxy_dy_total_net_amount_tips")}>
					<QuestionCircleFilled />
				</Tooltip>
			</p>
		),
		align: "center",
		fixed: false,
		sorter: (a, b) => a.dyTotalNetAmount - b.dyTotalNetAmount
	},

	recalAdNetMemberName: {
		key: "memberName",
		dataIndex: "memberName",
		width: 120,
		render: renderNullableValue("memberName"),
		title: newFormat("report.recal_ad_member_name"),
		align: "center",
		fixed: false
	},
	recalAdNetBetOrderNo: {
		key: "betOrderNo",
		dataIndex: "betOrderNo",
		width: 120,
		render: renderNullableValue("betOrderNo"),
		title: newFormat("report.recal_ad_bet_order_no"),
		align: "center",
		fixed: false
	},
	recalAdNetObSettleCount: {
		key: "obSettleCount",
		dataIndex: "obSettleCount",
		width: 120,
		render: renderNullableValue("obSettleCount"),
		title: newFormat("report.recal_ad_ob_settle_count"),
		align: "center",
		fixed: false
	},
	recalAdNetNetAt: {
		key: "netAt",
		dataIndex: "netAt",
		width: 120,
		render: renderNullableValue("netAt"),
		title: newFormat("report.recal_ad_net_at"),
		align: "center",
		fixed: false
	},
	recalAdNetSettlementStatus: {
		key: "settlementStatus",
		dataIndex: "settlementStatus",
		width: 120,
		render: renderNullableValue("settlementStatus"),
		title: newFormat("report.recal_ad_settlement_status"),
		align: "center",
		fixed: false
	},
	recalAdNetBetAmount: {
		key: "betAmount",
		dataIndex: "betAmount",
		width: 120,
		render: renderNullableValue("betAmount"),
		title: newFormat("report.recal_ad_bet_amount"),
		align: "center",
		fixed: false
	},
	recalAdNetNetAmountRecalculateAdjust: {
		key: "netAmountRecalculateAdjust",
		dataIndex: "netAmountRecalculateAdjust",
		width: 120,
		render: renderNullableValue("netAmountRecalculateAdjust"),
		title: newFormat("report.recal_ad_net_amount_recalculate_adjust"),
		align: "center",
		fixed: false
	},
	recalAdNetValidBetAmount: {
		key: "validBetAmount",
		dataIndex: "validBetAmount",
		width: 120,
		render: renderNullableValue("validBetAmount"),
		title: newFormat("report.recal_ad_valid_bet_amount"),
		align: "center",
		fixed: false
	},
	recalAdNetValidNetAmountRecalculateAdjust: {
		key: "validNetAmountRecalculateAdjust",
		dataIndex: "validNetAmountRecalculateAdjust",
		width: 120,
		render: renderNullableValue("validNetAmountRecalculateAdjust"),
		title: newFormat("report.recal_ad_valid_net_amount"),
		align: "center",
		fixed: false
	},
	recalAdNetNetAmountRecalculateAdjustParent: {
		key: "netAmountRecalculateAdjustParent",
		dataIndex: "netAmountRecalculateAdjustParent",
		width: 120,
		render: renderNullableValue("netAmountRecalculateAdjustParent"),
		title: newFormat("report.recal_ad_net_amount_recalculate_adjust_parent"),
		align: "center",
		fixed: false
	},
	recalAdNetRebateAmountRecal: {
		key: "rebateAmountRecal",
		dataIndex: "rebateAmountRecal",
		width: 120,
		render: renderNullableValue("rebateAmountRecal"),
		title: "返水金额",
		// tôi có sửa title từ 返水重算调整 thành 返水金额
		// có dính bug thì ông tạo 1 prefix giúp tôi nhé
		align: "center",
		fixed: false
	},
	recalAdNetRebateAmountRecal1: {
		key: "rebateAmountRecal",
		dataIndex: "rebateAmountRecal",
		width: 120,
		render: renderNullableValue("rebateAmountRecal"),
		title: newFormat("report.recal_ad_rebate_amount_re_cal"),
		align: "center",
		fixed: false
	},
	recalAdNetValidBetAmountRecalculateAdjust: {
		key: "recalAdNetValidBetAmountRecalculateAdjust",
		dataIndex: "netAmountRecalculateAdjustParent",
		width: 120,
		render: renderNullableValue("validBetAmountRecalculateAdjust"),
		title: "有效投注重算调整",
		align: "center",
		fixed: false
	},
	recalAdNetValidBetAmountRecalculateAdjust1: {
		key: "recalAdNetValidBetAmountRecalculateAdjust",
		dataIndex: "netAmountRecalculateAdjustParent",
		width: 120,
		render: renderNullableValue("validBetAmountRecalculateAdjust"),
		title: newFormat("report.recal_ad_net_amount_recalculate_adjust_parent1"),
		align: "center",
		fixed: false
	},
	recalAdNetRebateAmountRecalParent: {
		key: "recalAdNetRebateAmountRecalParent",
		dataIndex: "rebateAmountRecalParent",
		width: 120,
		title: "返水重算调整",
		align: "center",
		fixed: false
	},
	recalAdNetTeamRebateAmountRecalculateAdjust: {
		key: "teamRebateAmountRecalculateAdjust",
		dataIndex: "teamRebateAmountRecalculateAdjust",
		width: 120,
		render: renderNullableValue("teamRebateAmountRecalculateAdjust"),
		title: "团队返点重算调整",
		align: "center",
		fixed: false
	},
	recalAdNetTeamRebateAmountRecalculateAdjust1: {
		key: "teamRebateAmountRecalculateAdjust",
		dataIndex: "teamRebateAmountRecalculateAdjust",
		width: 120,
		render: renderNullableValue("teamRebateAmountRecalculateAdjust"),
		title: newFormat("report.recal_ad_team_rebate_amount_recalculate_adjust"),
		align: "center",
		fixed: false
	}
})

export default proxyByVenue
